// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}
.el-card__header {
  border-bottom-color: transparent;
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.el-dropdown .el-dropdown-link {
  color: var(--el-color-primary) !important;
}

// --------------------------------------------
.el-button:focus {
  outline: none;
}

.el-input__inner {
  height: 38px;
  border-radius: 7px;
}

.el-select__wrapper {
  height: 40px;
  border-radius: 7px;
}

.el-button {
  min-height: 40px;
  min-width: 80px;
  border-radius: 7px;
}

.el-form-item__label {
  color: #606266;
}

.el-input__wrapper {
  border-radius: 7px;
  height: 40px;
}

.el-table {
  color: #000000;
}

.el-form .el-form-item__label {
  align-self: center;
}

.el-input-number.is-controls-right .el-input-number__decrease,
.el-input-number.is-controls-right .el-input-number__increase {
  height: 20px;
}

.el-select-dropdown__item {
  height: 40px;
  line-height: 40px;
}
.el-select-dropdown__wrap {
  max-height: 290px;
}

.el-upload-list__item {
  width: 134px !important;
  height: 134px !important;
}

.el-upload--picture-card {
  width: 134px !important;
  height: 134px !important;
}
